import request from '@/utils/request'

export function createCollect(data) {
    return request({
        url: 'web/collect-record/create',
        method: 'post',
        data
    })
}

export function cancelCollect(busId) {
    return request({
        url: 'web/collect-record/cancelCollect/'+busId,
        method: 'post',
    })
}
